
    <div class="img">
        <?php echo CHtml::link(CHtml::image(Yii::app()->request->baseUrl.User::S_THUMBNAIL.$data->avatar,CHtml::encode($data->full_name),array('title'=>$data->full_name)),array('supplier/view', 'id' => $data->id)); ?>
    </div>

